﻿@model STX.Admin.Models.Home.WelcomeModel
@{
    ViewBag.Title = "Welcome";
    Layout = null;
}
<style>
    #welcometable{ padding: 20px;}
    #welcometable h5{ height: 25px;width: 360px;line-height: 25px; text-indent: 10px; background: #add8e6}
    #welcometable ul{ width:360px; height: 240px; }
    #welcometable ul li{ height: 20px; border-bottom: #eee 1px dotted; line-height: 20px; }
</style>

<table width="100%" id="welcometable">
    <tr>
        <td width="50%">
            <h5>公告</h5>
            <ul>
                @foreach (var item in Model.Notices)
                {
                    <li><a target="dialog" href="@Url.Action("detail","BizNotice", new { Id = item.Id })" width="700" height="400">@item.Title</a></li>
                }   
            </ul>
        </td>
        <td width="50%">
            <h5>通知</h5>
            <ul>
                @foreach (var item in Model.Messages)
                {
                    <li><a target="dialog" href="@Url.Action("detail","BizMessage", new { Id = item.Id })" width="700" height="400">@item.Title</a></li>
                }
            </ul>
        </td>
    </tr>
    <tr>
        <td width="50%">
            <h5>活动</h5>
            <ul>
            
            </ul>
        </td>
        <td width="50%">
            <h5>资源共享</h5>
            <ul>
                @foreach (var item in Model.Downloads)
                {
                    <li><a href="@item.FileUrl" target="_blank">@item.Title</a></li>
                }
            </ul>
        </td>
    </tr>
</table>
